﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using TpBaseObjects.Base;

namespace TpBaseObjects.Objects {
    
    public class AbrLiefModelObj : MyBaseModel {

        #region Constructor

        public AbrLiefModelObj() {
        }

        #endregion

        #region Properties

        private string ausgangsReNr;
        [DataMember]
        public string AusgangsReNr {
            get {
                return this.ausgangsReNr;
            }
            set {
                if (this.ausgangsReNr == value) {
                    return;
                }
                this.ausgangsReNr = value;
                OnPropertyChanged(() => AusgangsReNr);
            }
        }

        private double checkInvoiceSum;
        [DataMember]
        public double CheckInvoiceSum {
            get {
                return this.checkInvoiceSum;
            }
            set {
                if (this.checkInvoiceSum == value) {
                    return;
                }
                this.checkInvoiceSum = value;
                OnPropertyChanged(() => CheckInvoiceSum);
            }
        }

        private double controlSum;
        [DataMember]
        public double ControlSum {
            get {
                return this.controlSum;
            }
            set {
                if (this.controlSum == value) {
                    return;
                }
                this.controlSum = value;
                OnPropertyChanged(() => ControlSum);
            }
        }

        private string eingangsReNr;
        [DataMember]
        public string EingangsReNr {
            get {
                return this.eingangsReNr;
            }
            set {
                if (this.eingangsReNr == value) {
                    return;
                }
                this.eingangsReNr = value;
                OnPropertyChanged(() => EingangsReNr);
            }
        }

        private string fileName;
        [DataMember]
        public string FileName {
            get {
                return this.fileName;
            }
            set {
                if (this.fileName == value) {
                    return;
                }
                this.fileName = value;
                OnPropertyChanged(() => FileName);
            }
        }

        private bool isDirty;
        [DataMember]
        public bool IsDirty {
            get {
                return this.isDirty;
            }
            set {
                if (this.isDirty == value) {
                    return;
                }
                this.isDirty = value;
                OnPropertyChanged(() => IsDirty);
            }
        }

        private string lieferant;
        [DataMember]
        public string Lieferant {
            get {
                return this.lieferant;
            }
            set {
                if (this.lieferant == value) {
                    return;
                }
                this.lieferant = value;
                OnPropertyChanged(() => Lieferant);
            }
        }

        private string sheetname;
        [DataMember]
        public string Sheetname {
            get {
                return this.sheetname;
            }
            set {
                if (this.sheetname == value) {
                    return;
                }
                this.sheetname = value;
                OnPropertyChanged(() => Sheetname);
            }
        }

        #endregion

    }
}
